<%--
  Created by IntelliJ IDEA.
  User: Administration
  Date: 2019/3/6
  Time: 15:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>hello Word</title>
</head>
<body>
    <div>
        <h1>
登陆首页
        </h1>
    </div><br/>

    <%--<div>
        <form action="login.action" method="post">
            请输入姓名：
            <input name="name" type="text"/><br/>
            请输入密码：
            <input name="userPassWord" type="text"/>
            <input type="submit" value="提交"/>
        </form>
    </div>--%>
        <div><s:fielderror/><%--输入效验信息--%></div>


            <s:form action="login.action">
                    <div>
                        用户名：<s:textfield name="name"/>
                    </div>
                    <div>
                        密&nbsp;&nbsp;码<s:password name="userPassWord"/>
                    </div>
                <div><s:submit value="登陆"/> </div>
            </s:form>

</body>
</html>
